
import tensorflow as tf
from tensorflow.python.keras.layers import GRU, Dropout, Dense


def get_gru_model():
    return tf.keras.Sequential([
        GRU(80, return_sequences=True),
        Dropout(0.2),
        GRU(100),
        Dropout(0.2),
        Dense(1)
    ])

# if __name__ == '__main__':
#     from pymouse import PyMouse
#     import time
#     time.sleep(5)
#     m = PyMouse()
#     m.move(740, 715)
#     for _ in range(100):
#         m.click(740, 715, 1)  # (300,300)位置右击
#         time.sleep(0.1)

